<?php

use think\migration\Migrator;
use think\migration\db\Column;

class AlterCouponOrderSidAddRemark extends Migrator
{
    public function up()
    {
        $this->table('coupon_order_sid')
            ->addColumn('remark', 'string', ['limit' => 30, 'default' => '', 'comment' => '备注区分'])
            ->update();

    }

    public function down()
    {
        $this->table('coupon_order_sid')
            ->removeColumn('remark');
    }
}
